home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 June / PCWorld_2007-06_cd.bin / temacd / wikipad / WikidPad-1.9beta2.exe / {app} / WikidPadHelp / data / UrlLinking.wiki < prev    next >
Encoding:
Text File  |  2006-08-29  |  2.6 KB  |  60 lines

  1. ∩╗┐++ Url Linking
  2.  
  3. You may enter URLs to websites or local files into your document.  To
  4. open the link double click on it or press the Ctrl-L. If you drag a
  5. file from Windows explorer onto wikidPad a link will be created for
  6. you.
  7.  
  8. Example:
  9.  
  10. http://www.google.com/ 
  11. https://somewheresecure.com
  12. file:///C|/Documents%20and%20Settings/joeshmoe/readme.txt
  13. ftp://ftp.whereever.com/
  14.  
  15. To create an absolute URL to a file you can also use "Add file URL" in "Editor" menu and choose the desired file in file dialog.
  16.  
  17.  
  18. ++ Relative URLs
  19. You can create URLs which are relative to the wiki directory. These start with rel:// followed by the relative position. For HTML export the rel:// is removed to create a relative HTML link (without protocol). For HTML preview they are converted to "file:" URLs.
  20.  
  21. You can drag a file from Windows Explorer while holding shift key to create a relative URL. This does not work with files ending with ".wiki", these are always absolute and have the "wiki:" protocol.
  22.  
  23. Example:
  24.  
  25. rel://../above/andBelow.txt
  26.  
  27.  
  28. ++ File storage
  29. You can also copy files into a subdirectory of the wiki directory from within WikidPad. See [FileStorage] for details.
  30.  
  31.  
  32. ++ Images
  33. If an URL file ends with ".jpg", ".gif" or ".png", the URL is automatically shown as an image in preview and HTML export (currently the HTML export does not automatically export the image itself). The URL can be absolute or relative and can point into the file storage.
  34.  
  35. Example (switch to preview to see the picture):
  36.  
  37. rel://files/testimg.gif
  38.  
  39. To show all such URLs as links instead, open "Options" dialog, page "HTML preview/export" and check "Show pics as links in preview" or "Show pics as links in export" or set it temporarily in the export dialog.
  40.  
  41. For controlling of individual URLs, see next chapter.
  42.  
  43.  
  44. ++ URL Appendix
  45. You can control details of URL presentation, especially for images, by using an URL appendix. This consists of a '>' character directly after the URL (no space) and some code characters which can be delimited by semicolons. The following codes are defined:
  46.  
  47.     i Show URL as image, even if it has none of the default suffixes
  48.     l Show URL as link. 'i' and 'l' are mutually exclusive.
  49.     s Set size of an image, following the code is the width and height, delimited by 'x' (e.g. '200x300')
  50.     a Set alignment of image, the following character defines which alignment (*t*op, vertically
  51.     *m*iddle, *b*ottom, *r*ight or *l*eft). This setting is not respected by the preview.
  52.  
  53. Examples:
  54.  
  55. Control size and alignment:
  56. rel://files/testimg.gif>s50x50;al
  57.  
  58. Show the URL as link:
  59. rel://files/testimg.gif>l
  60.